package main


import (
"fmt"
"flag"
)

type Sam []int

func (s *Sam)String(){
   for _,k := range *s {
     fmt.Println(k)
   }
}

func (s *Sam)Dump(k func(i interface{})){
    if k != nil {
        k(1)
    }
}


type Mi interface{}

type Xin func()

func Run(st Gongneng){

   st.Run()
}


type Gongneng  interface{
   Run()
   Far()
}




func main(){

    
	var ip = flag.Int("flagname", 1234, "help message for flagname") 

	fmt.Println(*ip)

    var  s1 = Sam{1,2,3}

    s2:="你好"

    fmt.Println(s1,len([]rune(s2)))

}



